﻿namespace TowerCraneMonitorClient.NetClient
{
    /// <summary>
    /// 一般数据发送报文
    /// </summary>
    /// <typeparam name="TData"></typeparam>
    public abstract class DataRequest<TData> : Request
    {
        /// <summary>
        /// 报文数据块
        /// </summary>
        public TData Data { get; }

        protected DataRequest(TData data)
        {
            Data = data;
        }
    }
}
